<?php
session_start();
require_once 'config.php';
require_once 'dbc.php';
require_once 'functions.php';
require_once 'pagePieces.php';

echoHeader();

if(!logged_in()){
	echoLogin();
}
else{
	echoVoting($votingSites);
}

echoFooter();

?>